package cn.mazexal.exambg.models.bo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * @author: Mazexal
 * Date: 2024/11/16
 */
@Data
public class Credentials {

    /**
     * 用户标识
     */
    private Long userId;

    /**
     * 签发时间
     */
    private Date issueTime;

    /**
     * 过期时间
     */
    private Date expireTime;

    public Credentials(Long userId, Date issueTime, Date expireTime) {
        this.userId = userId;
        this.issueTime = issueTime;
        this.expireTime = expireTime;
    }
}
